﻿using System.Collections.Concurrent;
using Main.Structure;

namespace Main.Substructure
{
    /// <summary>
    /// This class acts as the data storage for this program.
    /// </summary>
    public static class Kernel
    {
        /// <summary>Thread-safe dictionary used to store Client variables.</summary>
        public static ConcurrentDictionary<uint, Client> Clients = new ConcurrentDictionary<uint, Client>();

        /// <summary>Thread-safe dictionary used to store Appointment variables.</summary>
        public static ConcurrentDictionary<long, Appointment> Appointments = new ConcurrentDictionary<long, Appointment>();
    }
}
